using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Hosting;

namespace Learn.Web.MVC.Controllers
{
    public class ManageAppController : Controller
    {
        //
        // GET: /ManageApp/

        public ActionResult Index()
        {            
            return View();
        }
        
        public string GetHttpRuntimeProperty()
        {            
            return "";
        }

        public string GetHttpContextCurrentProperty()
        {
            return "";
        }

        public string GetHostingEnvironmentProperty()
        {
            return "";
        }

        public ActionResult RestartWebApp()
        {
            //HttpRuntime.UnloadAppDomain();
            //ApplicationManager.GetApplicationManager().ShutdownApplication(HostingEnvironment.ApplicationID);
            return View();
        }
    }
}
